public int bigDiff(int[] nums) {
        int max = nums[0];
			  int min = nums[0];
			  for (int j = 1; j < nums.length; j++) {
				
					min = Math.min(min, nums[j]);
          max = Math.max(max, nums[j]);
			}return max-min;
}
